package com.drug.mingkang.permission.model.vo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 描述： 用户Vo
 *
 * @version 1.0
 * @author: wcj
 * @Date: 2020/8/12 10:52
 */
@NoArgsConstructor
@AllArgsConstructor
public class PerUsersVo {
    /**
     * 第几页
     */
    private Integer page;
    /**
     * 条数
     */
    private Integer limit;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 开始时间
     */
    private String startTime;

    /**
     * 结束时间
     */
    private String endTime;

    /**
     * 公司id
     */
    private String companyId;

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public Integer getPage() {
        return (page-1)*limit;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
